<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    'use strict';
    let obj1 = {
      name: 'obj1'
    };

    let obj2 = {
      name: 'obj2'
    }

    function fn(){
      console.log(this);
    }

    let fn2 = fn.bind(obj1);
    // let fn3 = fn2.bind(obj2);

    let fn4 = fn.bind(obj2);

    fn4();

  </script>
</body>
</html>